<?php
/**
 * @package framework
 * @subpackage views
 *
 * @author Philippe Archambault <philippe.archambault@gmail.com>
 * @version 0.1
 * @license http://www.gnu.org/licenses/gpl.html GPL License
 * @copyright Philippe Archambault, 2008
 */
?>
<h1><?php echo __('Careers'); ?></h1>

<table id="careers" class="index" cellpadding="0" cellspacing="0" border="0">
  <thead>
    <tr>
      <th><?php echo __('Name'); ?></th>
	  <th>&nbsp;</th>
	  <th>&nbsp;</th>
	  <th><?php echo __('Modify'); ?></th>
    </tr>
  </thead>
  <tbody>
 
<?php foreach($careers as $career): ?> 
    <tr class="node <?php echo odd_even(); ?>">
      <td class="user" colspan="3">
        <a href="<?php echo get_url('career/edit/'.$career->id); ?>"><?php echo $career->name; ?></a>
      </td>
	  
	  <td>
        <a href="<?php echo get_url('career/delete/'.$career->id); ?>" onclick="return confirm('<?php echo __('Are you sure you wish to delete it?'); ?>');"><img src="images/icon-remove.gif" alt="remove icon" /></a>
      </td>
    </tr>
<?php endforeach; ?> 
  </tbody>
</table>
